package com.boyunv.composite.example01;/*
 *@description
 *
 *@author boyunv
 *@create 2023/7/23 15:04
 *@version 1.0
 */

public class Facade {
    private SubSystemA obj1=new SubSystemA();
    private SubSystemB obj2=new SubSystemB();
    private SubSystemC obj3=new SubSystemC();

    public  void  method(){
        obj1.methodA();
        obj2.methodB();
        obj3.methodC();
    }
}
